package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 文章信息;
 *
 * @author Yu Chaohua
 * @date 2024-5-22
 */
@ApiModel(value = "文章信息", description = "")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BizArticleReqCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "页码")
    private long currentPage = 1;

    @ApiModelProperty(notes = "每页条数")
    private long pageSize = 10;

    @ApiModelProperty(notes = "文章ID")
    private long articleId;

    @ApiModelProperty(notes = "所属类目")
    private long columnId;

    @ApiModelProperty(notes = "文章标题")
    private String title;

    @ApiModelProperty(notes = "文件内容")
    private String content;

    @ApiModelProperty(notes = "状态（0正常 1停用）")
    private Integer status;

}